﻿using BCDto.OA.TeamWorks.TaskResourceRecord;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.OA.TeamWorks.TaskResourceRecord
{
    /// <summary>
    /// 任务资源记录
    /// </summary>
    public interface ITaskResourceRecordService
    {
        /// <summary>
        /// 添加任务资源文件记录
        /// </summary>
        /// <param name="requestDto">任务资源文件记录</param>
        /// <returns></returns>
        TaskResourceRecordDto Add(TaskResourceRecordRequestDto requestDto);
        /// <summary>
        /// 获取任务资源文件记录
        /// </summary>
        /// <param name="workflowActivityInstanceId">工作流实例Id</param>
        /// <returns></returns>
        IEnumerable<TaskResourceRecordDto> GetList(long workflowActivityInstanceId);
    }
}
